package com.yunbo.crm.service;

import com.yunbo.crm.base.BaseServices;
import com.yunbo.crm.base.ResultInfo;
import com.yunbo.crm.pojo.SaleChance;
import com.yunbo.crm.query.SaleChanceQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Author : yun&bo
 * @CreateDate : ==>2021/1/21 13:33
 * @ClassName : ==>
 * @Description : ==>
 * @Version
 */
public interface SaleChanceService extends BaseServices<SaleChance, Integer> {
    Map<String, Object> querySaleChanceByParams(SaleChanceQuery saleChanceQuery);

    void addSaleChance(SaleChance saleChance, HttpServletRequest request);

    void updateSaleChance(SaleChance saleChance, HttpServletRequest request);

    void deleteSaleChances(Integer[] ids);

    void updateSaleChanceDevResult(Integer rowId, Integer devResult);
}
